/*CSS for portfolio page*/
/* Color scheme / https://coolors.co/dfdfdf-3c91e6-342e37-fa824c-de541e 

#DFDFDF - Gainsboro
#3C91E6 - Tufts Blue
#342E37 - Black Coffee
#FA824C - Mango Tango
#DE541E - Flame
*/
* {
	font-family: Sans-Serif;
}
/*background styling*/
.background {
	margin: 0 auto;
	display: flex;
	flex-direction: row;
	justify-content: center;
	flex-wrap: wrap;
	width: 100%;
	padding: 0;
	gap: 2vw;
	z-index: -1;
	position: fixed;
	top: 0;
	left: 0;
	background-color: #dfdfdf;
}

.circle {
	border: 1px solid black;
	border-radius: 50%;
	height: 16vw;
	width: 16vw;
	animation: pulse 360s linear infinite;
	background-color: orange;
}
.square:nth-child(n) {
	background-color: green;
	animation: pulse 330s linear infinite;
	animation-delay: 30s;
}
.square:nth-child(2n) {
	background-color: yellow;
	animation: pulse 300s linear infinite;
	animation-delay: 60s;
}
.square:nth-child(3n) {
	background-color: blue;
	animation: pulse 270s linear infinite;
	animation-delay: 90s;
}

.square:nth-child(4n) {
	background-color: red;
	animation: pulse 240s linear infinite;
	animation-delay: 120s;
}

.square {
	border: 1px solid black;
	border-radius: .25em;
	height: 16vw;
	width: 16vw;
	margin: 0;	
}

.triangle {
    border-left: 12vw solid transparent;
    border-right: 12vw solid transparent;
    border-bottom: 18vw solid green;
    border-top: 1px solid transparent;
	width: 0px;
	position: absolute;
	bottom: 3vw;
	left: 41vw;
}

@keyframes pulse {
	0% {
		border-radius: 0.25em;
	}
	25% {
		border-radius: 25%;
	}
	50% {
		border-radius: 50%;
	}
	75% {
		border-radius: 25%;
	}
	100% {
		border-radius: 0.25em;
	}
}
/*End Background Styling*/

/*Header and navbar styling */
 header {
	 width: 100%;
	 height: 60px;
	 background-color: #342E37;
	 box-shadow: 0 0 10px #dfdfdf;
	 position: fixed;
	 top: 0;
	 left: 0;
	 z-index: 1;
	 display: flex;
	 flex-direction: row; 
	 justify-content: space-between;
	 align-items: center;
 }
 
 .title {
	 margin-left: 20px;
 }
 
 nav ul {
	display: flex;
	flex-wrap: none;
	list-style-type: none;
	margin-right: 25px;
}

nav ul a li {
	margin: 10px;
	text-decoration: none;
}

nav ul a li:hover {
	color: #FA824C;
}

h2 {
	font-size: 2em;
}
 
 .intro {
	 height: 50vh;
 }
 
/* End Header Styling */
/* h1 {
	text-align: center;
	width: 55%;
	min-width: 196px;
	margin: 5px;
	background-color: white;
	border: 1px solid black;
}
.title-wrapper {
	display: flex;
	margin: 80px auto 0;
	justify-content: center;
	text-align: center;
} */
h1, h2, h3 {
	font-family: 'Stick No Bills', Sans-Serif;
	color: #3C91E6;
	text-align: center;
}

h1 {
	font-size: 4rem;
}
h3 {
	color: #DE541E;
	font-size: 2.5rem;
	margin: 10px auto;
}

.orange {
	color: #FA824C;
}

p, li {
	font-family: 'Asap Condensed', Sans-Serif;
	font-size: 1.4rem;
	color: #dfdfdf;
	margin: 0 auto;
}

.title-text {
	margin: 0 auto;
}

.title-text p {
	font-size: 1.7rem;
}

.container-div {
	margin: 60px auto 10px;
	width: 88vw;
	max-width: 1500px;
	display: flex;
	justify-content: center;
	/* border: 2px solid black; */
	position: relative;
	box-sizing: border-box;
}

.project-div {
	display: grid;
	grid-template-columns: 1fr 30fr 30fr 30fr 1fr;
	width: 100%;
	margin: 5px 5px;
	row-gap: 10px;
	column-gap: 10px;
	height: calc(100% + 55px);
}

.three-rows {
	grid-template-rows: 250px 1fr;
	height: 100%;
	row-gap: 1%;
}

.row-one {
	grid-row: 1 / 2;
	height: 33%;
	display: flex;
	align-items: center; 
}

.row-two {
	display: flex;
	flex-direction: column;
	height: 33%;
	justify-content: center;
}

.row-three {
	display: flex;
	justify-content: center;
	align-items: end;
	height: 33%;
}

.row-three p {
	margin: 0;
}

.long-one {
	grid-column: 2 / 4;
	background-color: #342E37;
}

.short-one {
	grid-column: 2 / 3;
}

.short-two {
	grid-column: 4 / 5;
	place-items: center;
}

.long-two {
	grid-column: 3 / 5;
}

.long-three {
	grid-column: 2 / 5;
}

.portfolio-item {
	padding: 5px;
	text-align: center;
	border: 1px solid black;
	background-color: #342E37;
	box-shadow: 0 0 4px grey;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.text-image {
	display: grid;
	grid-template-columns: 48% 48%;
	column-gap: 3%;
	text-align: justify;
	place-items: center;
	left: 0;
}

.image {
	max-width: 420px;
	max-height: 370px;
	width: 100%;
	object-fit: cover;
	grid-column: 1 / 2;
}

.project-tile {
	display: flex;
	width: 100%;
	justify-content: center;
}
.image-link {
	width: 100%;
}

footer {
	width: 100%;
	height: 90px;
	min-width: 495px;
	background-color: #342E37;
	box-shadow: 0 0 10px #dfdfdf;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: #F0EFF4;
	position: absolute; 
	left: 0;
}

footer p {
	margin: 0;
}

p a {
	color: #FA824C;
	text-decoration: none;
}

p a:hover {
	color: #3C91E6;
	font-family: 'Stick No Bills', Sans-Serif; 
}

h3 a {
	color: #DE541E;
	margin: 10px auto;
	text-decoration: none;
	font-family: 'Stick No Bills', Sans-Serif;
}

h3 a:hover {
	color: #3C91E6;
	font-family: 'Asap Condensed', Sans-Serif;
}

a {
	text-decoration: none;
}
@media (max-width: 975px) {
	h3 {
		font-size: 1.6rem;
		margin-bottom: 10px;
	}
	h2 {
		font-size: 1.5rem;
	}
	p {
		margin-top: 0;
	}
	nav ul a li {
		font-size: 1.2rem;
	}
	.container-div {
		width: 98%;
	}
	.project-div {
		grid-template-columns: 1fr 30% 30% 30% 1fr;
		row-gap: 5px;
	}
	.long-one {
		grid-column: 2 / 5;
	}
	.short-one {
		grid-column: 2 / 5;
	}
	.long-two {
		grid-column: 2 / 5;
	}
	.short-two {
		grid-column: 2 / 5;		
	}
	.intro {
		grid-row: 1 / 2;
	}
}

@media (max-width: 720px) {
	h3 {
		font-size: 1.5rem;
	}
	h2 {
		font-size: 1.2rem;
	}
	.title {
		margin-left: 5px;
	}
	p {
		font-size: 1.2rem;
	}
	nav ul a li {
		margin: 4px;
		font-size: 1.0rem;
	}
}
@media (max-width: 650px) {
	footer {
		margin-top: 0;
	}
	h1 {
		font-size: 3rem;
	}
}

@media (max-width: 525px) {
	.project-tile {
		grid-column: 1 / -1;
	}
	.image {
		grid-column: 1 / -1;
	}
	.text {
		grid-column: 1 / -1;
	}
	.text h3 {
		margin-bottom: 0;
	}
	.text p {
		margin-top: 2px;
	}
}